// require('./index.css');
// // console.log('模块内的js文件', process.env.NODE_ENV);
// let avatar = require('./cro2.jpg');
// console.log(avatar, 'xxx')
// let img = new Image();
// img.src = avatar;
// document.body.appendChild(img);
function readonly(target, key, descriptor) {
    console.log(target, key, descriptor);
    descriptor.writable = false; //这个值不能修改是只读的
}
class Circle {
    @readonly PI = 3.14;
}
let c1 = new Circle();
c1.PI = 3.15;
console.log(c1);